<?php

use common\modules\user\Module;

return [
    'components' => [
        'user' => [
            'class' => 'yii\web\User',
            'identityClass' => 'common\modules\user\models\backend\User',
            'loginUrl' => ['/user/guest/login'],
            'identityCookie' => [
                'name' => '_identity',
                'httpOnly' => true,
            ],
        ],
    ],
    'modules' => [
        Module::$identify => [
            'class' => Module::className(),
            'robotEmail' => 'no-reply@domain.com',
            'robotName' => 'Robot',
            'isBackend' => true,
        ],
    ],
];
